<?php /* Smarty version 2.6.18, created on 2010-07-30 12:29:51
         compiled from bao_tri_par_gifttranf.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array('title' => 'Bao tri phong giao dich')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<form name ="tongquat" action="" method="post" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td width="57%" colspan="2" align="right" nowrap="nowrap">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
  <tr>
    <td width="18%"><?php echo $this->_tpl_vars['lbl_FBRNCODE']; ?>
</td>
    <td colspan="3" style="color:#FF0000"><input name="FBRNCODE" id="FBRNCODE" type="text" style="background:<?php echo $this->_tpl_vars['colorFBRNCODE']; ?>
" value="<?php echo $this->_tpl_vars['FBRNCODE']; ?>
" size="20" maxlength="3" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> readonly="readOnly"<?php endif; ?>/>
      *
      <input type="button" onclick="mywindow = window.open('chi_nhanh_id.php?name=FBRNCODE', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findchinhanh" id="replacement_binoculars" value="     " <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?>disabled="disabled" <?php endif; ?>></td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_FDEPTCD']; ?>
</td>
    <td style="color:#FF0000" colspan="3" ><select id="FDEPTCDtmp" name="FDEPTCDtmp" size="1" style="background:<?php echo $this->_tpl_vars['colorFDEPTCD']; ?>
;" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> disabled="disabled" <?php endif; ?>>
 		<?php $_from = $this->_tpl_vars['cbo_DEPTCD']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>  
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['FDEPTCD'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>  
    </select>
* 
  <input id="replacement_find" type="submit" name="find" value="    "  height="15" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> disabled="disabled" <?php endif; ?>/>
  <input type="hidden" value="<?php echo $this->_tpl_vars['FDEPTCD']; ?>
" id="FDEPTCD" name="FDEPTCD" /></td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_ENABLE']; ?>
</td>
    <td colspan="3"><span style="color:#FF0000">
      <select id="ENABLE" name="ENABLE" size="1" style="background:<?php echo $this->_tpl_vars['colorENABLE']; ?>
;">
 		<?php $_from = $this->_tpl_vars['cbo_par_gifttranf_ENABLE']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>  
        <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['ENABLE'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>  
      </select>
    </span></td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_TODEPT']; ?>
</td>
    <td colspan="3"><span style="color:#FF0000">
      <select id="TODEPTtmp" name="TODEPTtmp" size="1" style="background:<?php echo $this->_tpl_vars['colorTODEPTtmp']; ?>
;" onchange="showselect();">
	  	<option value=""></option>
 		<?php $_from = $this->_tpl_vars['cbo_TODEPT']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>  
        <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['TODEPTtmp'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>  
      </select>
    </span><span style="color:#FF0000">
    <input type="button" name="add_bt" id="add_bt" onclick="add_new_brn();" value="<?php echo $this->_tpl_vars['ten_them_moi']; ?>
"  class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input name="delete_bt" id="delete_bt" type="button" value=" <?php echo $this->_tpl_vars['ten_xoa']; ?>
 " class="button_style" onclick="delete_brn();"  onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    </span></td>
  </tr>
  <tr   id="showrows">
    <td><?php echo $this->_tpl_vars['lbl_SELECT']; ?>
</td>
    <td colspan="3"><select id="BRNtmp" name="BRNtmp" size="1" style="background:<?php echo $this->_tpl_vars['colorDEPTCD']; ?>
;" <?php if ($this->_tpl_vars['activecombobox'] == 'enabled'): ?> disabled="disabled" <?php endif; ?> onchange="document.getElementById('findcbo').click();">
		<option value=""></option>
 		<?php $_from = $this->_tpl_vars['cbo_FBRNCODE']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>  
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['BRNtmp'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>  
    </select>
      <select id="DPTtmp" name="DPTtmp" size="1" style="background:<?php echo $this->_tpl_vars['colorDEPTCD']; ?>
;" <?php if ($this->_tpl_vars['activecombobox'] == 'enabled'): ?> disabled="disabled" <?php endif; ?>>
 		<?php $_from = $this->_tpl_vars['cbo_DEPTCD_tmp']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>  
        <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['DPTtmp'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>  
      </select>
      <input name="findcbo" value="" type="submit" id="findcbo" style="visibility:hidden" /></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td colspan="3"><textarea name="TODEPT" id="TODEPT" cols="45" readonly="readonly"><?php echo $this->_tpl_vars['TODEPT']; ?>
</textarea></td>
    </tr>
<tr>
<td colspan="4">
<p>
<p></td>
</tr>
<tr>
<td colspan="4" align="right" nowrap="nowrap">
    <input type="button" name="cancle" id="cancle" value="<?php echo $this->_tpl_vars['ten_cancle']; ?>
" class="button_style" onclick="activeform(this.form,'FBRNCODE-FDEPTCDtmp');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input type="submit" name="capnhat" value="<?php echo $this->_tpl_vars['ten_cap_nhat']; ?>
" <?php if ($this->_tpl_vars['activefield'] == 'disabled'): ?>disabled="disabled" <?php endif; ?> class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" /></td>
  </tr>
<tr>
<td colspan="4" align="left" nowrap="nowrap">
<input name="addnew" type="submit" value="<?php echo $this->_tpl_vars['ten_themmoi']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input name="detail" type="submit" value="<?php echo $this->_tpl_vars['ten_chitiet']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>

<tr>
<td colspan="2">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
<?php echo $this->_tpl_vars['javascriptsetstyle']; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>